package com.lagou.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @description: 订单表实体类
 **/
@Data
public class Orders implements Serializable {

    private Long id; //订单id
    private Integer status; //状态
    private Date createTime;
    private Date updateTime;
    //一对多： 一个订单下有多个商品
    List<Goods> goodsList;
}
